/**
 * This file is a part of qloudgen-sec. 
 * You can redistribute qloudgen-sec and/or modify it under the terms of the Lesser GNU General Public License version 3. 
 * qloudgen-sec is distributed WITHOUT ANY WARRANTY. 
 *
 * See the Lesser GNU General Public License for more details at http://www.gnu.org/licenses/. 
 **/
package org.qloudgen.sec.cas.support.user.userdetail;

import java.util.List;

import org.qloudgen.sec.cas.support.user.services.UserDetail;

public interface UserDetailDao {
    UserDetail save(UserDetail userDetail);
    
    boolean delete(UserDetail userDetail);
    
    List<UserDetail> load();
    
    List<UserDetail> loadCanDelete();

    UserDetail findUserDetailById(String id);
    
    UserDetail findUserDetailByName(String colName);
}

